	age::render::SVertex v ; 
	vector<age::render::SVertex> vertex ; 
	vector<unsigned int> indexList ;

	render->getVideoInformation(VideoInfo);

	age::kernal::SModeList modes=device->getModeList();

	cout<<modes.actualBits<<" "<<modes.actualScreenHeight<<" "<<modes.actualScreenWidth<<endl;
	for(int i=0;i<modes.modeCount;i++)
	{
		cout<<modes.width[i]<<" "<<modes.height[i]<< " " <<modes.bits[i]<<endl;
	}

	cout<<VideoInfo.Renderer<<"\n"<<VideoInfo.Vendor<<"\n"<<VideoInfo.Name<<"\n"<<VideoInfo.Version<<endl;
	//vertex.resize(6);
	v.set(age::math::Vector3f(-50,50,0),age::math::Vector3f(0,0,0),age::kernal::Color(255,255,255,255));
	vertex.push_back(v);
	v.set(age::math::Vector3f(50,50,0),age::math::Vector3f(1,0,0),age::kernal::Color(255,255,255,255));
	vertex.push_back(v);
	v.set(age::math::Vector3f(50,-50,0),age::math::Vector3f(1,1,0),age::kernal::Color(255,255,255,255));
	vertex.push_back(v);
	v.set(age::math::Vector3f(-50,-50,0),age::math::Vector3f(0,1,0),age::kernal::Color(255,255,255,255));
	vertex.push_back(v);

	indexList.push_back(0);indexList.push_back(1);indexList.push_back(2);
	indexList.push_back(2);indexList.push_back(3);indexList.push_back(0);
	


//--------------------------------------------------

 	age::render::ITexture *texture1 = render->createTexture("logo.jpg",false);
 	age::render::ITexture *texture2 = render->createTexture("image_tga.tga",false);
	texture2->generateColorKey(age::kernal::Color(255,0,0,0));
	texture2->rebuild(false);
	texture2->setFilterMode(age::render::AGE_TEXTURE_FILTER_NONE);
	//Mask Image 
	age::render::ITexture *texture3 = render->createTexture();
	if(texture3->build("O.bmp","CM.bmp",false)==false)
		return 0;
	age::render::ITexture *texture4 = render->createTexture("O.bmp",false);
	age::render::ITexture *texture5 = render->createTexture("CM.bmp",false);

 //--------------------------------------------------

	std::cout<<"texture 1 dimensions "<<texture1->getWidth() <<"*"<<texture1->getHeight()<<std::endl;
	std::cout<<"texture 2 dimensions "<<texture2->getWidth() <<"*"<<texture2->getHeight()<<std::endl;
	std::cout<<"texture 3 dimensions "<<texture3->getWidth() <<"*"<<texture3->getHeight()<<std::endl;
//	std::cout<<"texture 4 dimensions "<<texture4->getWidth() <<"*"<<texture4->getHeight()<<std::endl;
	std::cout<<"max texture size available is : " << render->getMaxTextureSize()<<" pixel "<<std::endl;

	age::math::Matrix4f m1; 
	age::math::Matrix4f m2;
	age::math::Matrix4f m3;
	age::math::Matrix4f result_1;

 
